package telas.comum;

import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import telas.componentes.Painel;

public class TelaDialogo extends JDialog 
{
	private static final long serialVersionUID = 4962359105360310788L;
	private Painel jContentPane = null;

	/**
	 * @param owner
	 */
	public TelaDialogo()
	{
		super();
		initialize();
	}
	
	public TelaDialogo(Frame owner) 
	{
		super(owner);
		initialize();
	}
	
	public TelaDialogo(Frame parent, boolean modal) 
	{
		super(parent, modal);
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() 
	{
//		this.setBounds(200, 200, 300, 200);
		this.setContentPane(getJContentPane());
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private Painel getJContentPane() 
	{
		if (jContentPane == null) 
		{
			jContentPane = new Painel();
			jContentPane.setLayout(new BorderLayout());
		}
		
		return jContentPane;
	}

}
